import React, {PureComponent} from 'react';
import {StyleSheet, View, Image, Text, ScrollView, TouchableWithoutFeedback} from 'react-native';

export default class extends PureComponent {
    render() {
        const {commission} = this.props;
        return (
            <View style={styles.container}>
                <Text style={styles.text}>奖励佣金预估：￥{commission}</Text>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        height: 28,
        justifyContent: 'center',
        paddingLeft: 18,
        backgroundColor: '#f84056'
    },
    text: {
        fontSize: 10,
        color: '#fff'
    }
});
